//*************************************************************************************
//    Stars.java		Author: Lewis/Loftus
//
//    Demonstrates the use of nested for loops.
//*************************************************************************************
public class Stars
{
  //-----------------------------------------------------------------------------------
  // Prints a triangle shape asterisk (star) characters.
  //-----------------------------------------------------------------------------------
  public static void main(String[] args)
  {
    final int MAX_ROWS = 10;
   
    for (int row = 1; row <= MAX_ROWS; row++)
    {
      for (int star = 1; star <= row; star++)
        System.out.print("*");
     
      System.out.println();
    }
   }
}
